<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>The Reviews</title>
</head>
<body>

<!-- ${str} -->

<!--  start shayma -->
#{list items:r, as:'reviewl'}


<div id="${reviewl.id}">

<h4><u>Review ${reviewl.review}</u></h4>
<div id="${reviewl.id}">

</div>
<hr>
</form>

<hr>
</div>
</form>


#{/list}
</body>
<!--end  shayma -->

<!-- Dina -->
<form action="@{Advices.accept()}" method="post">
<input type="button" value="Accept" onclick="JavaScript:alert('You may edit the tutorial now!')" />
</form>
&nbsp
<form action="@{Advices.reject()}" method="post">
<input type="button" value="Reject" onclick="JavaScript:alert('You may send an advice to the reviewer.')" />
</form>
<br /> <br />

<form action="@{Advices.addAdvice()}" method="POST">
<textarea name="advice" id="testadvice" rows="7" cols="37" width:100%;>
Please enter your advice here if any. 
</textarea>
<input type="submit" value="Advice"/>
</form>
<!-- /Dina -->

<!-- Ghada  -->
<a href="@{Advices.showAdvise()}">view advises</a>
</body>
</html>